package com.shengqi.xinnongren.work.ui.user.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by LuoYaWei on 2018/8/7.
 */
public class RefundBean implements Serializable {


    private List<ComListBean> comList;
    private List<String> returnReason;

    public List<ComListBean> getComList() {
        return comList;
    }

    public void setComList(List<ComListBean> comList) {
        this.comList = comList;
    }

    public List<String> getReturnReason() {
        return returnReason;
    }

    public void setReturnReason(List<String> returnReason) {
        this.returnReason = returnReason;
    }

    public static class ComListBean {
        /**
         * comId : 20
         * comName : 夏黑葡萄
         * picUrl : http://192.168.1.99:8889/images/23a58943223640cb928d37352fae42a9.png
         * isNew : 1
         * skuList : [{"skuId":11,"skuName":"框装","price":10,"marketPrice":10,"shopCarNum":1,"activityType":null}]
         */

        private String comId;
        private String comName;
        private String picUrl;
        private int isNew;
        private List<SkuListBean> skuList;
        private boolean isSelect;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public String getComId() {
            return comId;
        }

        public void setComId(String comId) {
            this.comId = comId;
        }

        public String getComName() {
            return comName;
        }

        public void setComName(String comName) {
            this.comName = comName;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public int getIsNew() {
            return isNew;
        }

        public void setIsNew(int isNew) {
            this.isNew = isNew;
        }

        public List<SkuListBean> getSkuList() {
            return skuList;
        }

        public void setSkuList(List<SkuListBean> skuList) {
            this.skuList = skuList;
        }

        public static class SkuListBean {
            /**
             * skuId : 11
             * skuName : 框装
             * price : 10
             * marketPrice : 10
             * shopCarNum : 1
             * activityType : null
             */

            private String skuId;
            private String skuName;
            private String price;
            private String marketPrice;
            private int shopCarNum;
            private int activityType;

            public int localNum = -1;//记录默认值


            public String getSkuId() {
                return skuId;
            }

            public void setSkuId(String skuId) {
                this.skuId = skuId;
            }

            public String getSkuName() {
                return skuName;
            }

            public void setSkuName(String skuName) {
                this.skuName = skuName;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getMarketPrice() {
                return marketPrice;
            }

            public void setMarketPrice(String marketPrice) {
                this.marketPrice = marketPrice;
            }

            public int getShopCarNum() {
                return shopCarNum;
            }

            public void setShopCarNum(int shopCarNum) {
                this.shopCarNum = shopCarNum;
                if (localNum < 0)
                    this.localNum = shopCarNum;
            }

            public int getActivityType() {
                return activityType;
            }

            public void setActivityType(int activityType) {
                this.activityType = activityType;
            }
        }
    }
}
